package com.t.bricks.bussiness.db.entity.dutyandperson.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import com.t.bricks.annotation.DataInfo;

/**
 * 人员与职务关系表'DutyAndPerson'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("人员与职务关系表DutyAndPerson")
public class DutyAndPersonBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="DutyAndPerson", sName="iId", sComment="版本号", isDbField=true, sDbFileType="bigint",
		sDefaultData="", isExtra=true, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=0 )
	@ApiModelProperty(value="版本号", example="")
	//[end]
	protected Long iId;

	/**
	 * 人员编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="DutyAndPerson", sName="sPersonId", sComment="人员编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=1 )
	@ApiModelProperty(value="人员编号", example="")
	//[end]
	protected String sPersonId;

	/**
	 * 职务编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="DutyAndPerson", sName="sDutyId", sComment="职务编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=2 )
	@ApiModelProperty(value="职务编号", example="")
	//[end]
	protected String sDutyId;

	/**
	 * 取 版本号
	 * @return Long
	 */
	public Long getiId() {
		return iId;
	}

	/**
	 * 设置 版本号
	 * @param iId
	 */
	public void setiId(Long iId) {
		this.iId = iId;
	}

	/**
	 * 取 人员编号
	 * @return String
	 */
	public String getsPersonId() {
		return sPersonId;
	}

	/**
	 * 设置人员编号
	 * @param sPersonId
	 */
	public void setsPersonId(String sPersonId) {
		this.sPersonId = sPersonId;
	}

	/**
	 * 取 职务编号
	 * @return String
	 */
	public String getsDutyId() {
		return sDutyId;
	}

	/**
	 * 设置职务编号
	 * @param sDutyId
	 */
	public void setsDutyId(String sDutyId) {
		this.sDutyId = sDutyId;
	}

}
